#
#      $Id: Makefile.am 2 2004-06-30 15:40:21Z racarlson $
#
#########################################################################
#									#
#			   Copyright (C)  2003				#
#	     			Internet2				#
#			   All Rights Reserved				#
#									#
#########################################################################
#
#	File:		Makefile.am
#
#	Author:		Jeff Boote
#			Internet2
#
#	Date:		Fri Sep 12 13:33:27 MDT 2003
#
#	Description:

INCLUDES	= $(NDTINCDIR) $(I2UTILINCS)
AM_LDFLAGS	= $(NDTLDFLAGS)
AM_LIBS		= $(I2UTILLIBS)
AM_CFLAGS	= $(NDTCFLAGS)

ndtdir = $(prefix)/ndt

bin_PROGRAMS	= analyze viewtrace tr-mkmap web100clt
sbin_PROGRAMS	= fakewww web100srv 

analyze_SOURCES	= analyze.c
analyze_LDADD = $(NDTLIBS)
analyze_CPPFLAGS ='-DBASEDIR="$(ndtdir)"'

fakewww_SOURCES	= fakewww.c troute.c tr-tree.c
fakewww_CPPFLAGS ='-DBASEDIR="$(ndtdir)"'

web100srv_SOURCES	= web100srv.c web100-util.c web100-pcap.c web100-admin.c web100srv.h
web100srv_LDFLAGS = $(NDTLDFLAGS) $(I2UTILLDFLAGS)
web100srv_LDADD = $(NDTLIBS) $(I2UTILLIBS)
web100srv_CPPFLAGS ='-DBASEDIR="$(ndtdir)"'
web100srv_DEPENDENCIES = $(I2UTILLIBDEPS)

viewtrace_SOURCES	= viewtrace.c
viewtrace_LDADD = $(NDTLIBS)
viewtrace_CPPFLAGS ='-DBASEDIR="$(ndtdir)"'

web100clt_SOURCES	= web100clt.c
web100clt_LDADD = 

tr_mkmap_SOURCES	= tr-mkmap.c
tr_mkmap_LDADD = $(NDTLIBS)
tr_mkmap_CPPFLAGS ='-DBASEDIR="$(ndtdir)"'

